package entities;

import java.util.Date;

/**
 * 
 * @author viev
 * Entity Patient
 */
public class Patient {
    private int PatientID;
    private String IdentityCard;
    private String Name;
    private boolean Male;
    private Date BirthDate;
    private String Address;
    private String Phone;
    private Date ModifiedDate;

    public Patient(int PatientID, String IdentityCard, String Name, boolean Male, Date BirthDate, String Address, String Phone, Date ModifiedDate) {
        this.PatientID = PatientID;
        this.IdentityCard = IdentityCard;
        this.Name = Name;
        this.Male = Male;
        this.BirthDate = BirthDate;
        this.Address = Address;
        this.Phone = Phone;
        this.ModifiedDate = ModifiedDate;
    }

    public Patient(String IdentityCard, String Name, boolean Male, Date BirthDate, String Address, String Phone, Date ModifiedDate) {
        this.IdentityCard = IdentityCard;
        this.Name = Name;
        this.Male = Male;
        this.BirthDate = BirthDate;
        this.Address = Address;
        this.Phone = Phone;
        this.ModifiedDate = ModifiedDate;
    }
    
    public Patient() {
        //
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String Address) {
        this.Address = Address;
    }

    public Date getBirthDate() {
        return BirthDate;
    }

    public void setBirthDate(Date BirthDate) {
        this.BirthDate = BirthDate;
    }

    public boolean isMale() {
        return Male;
    }

    public void setMale(boolean Male) {
        this.Male = Male;
    }

    public String getIdentityCard() {
        return IdentityCard;
    }

    public void setIdentityCard(String IdentityCard) {
        this.IdentityCard = IdentityCard;
    }

    public Date getModifiedDate() {
        return ModifiedDate;
    }

    public void setModifiedDate(Date ModifiedDate) {
        this.ModifiedDate = ModifiedDate;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public int getPatientID() {
        return PatientID;
    }

    public void setPatientID(int PatientID) {
        this.PatientID = PatientID;
    }

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String Phone) {
        this.Phone = Phone;
    }
}
